package com.shop.mms_client.model;

import com.google.gson.annotations.SerializedName;

public class DetectionResult {
    @SerializedName("is_spam")
    private boolean isSpam;
    
    private double confidence;
    
    @SerializedName("probabilities")
    private Probabilities probabilities;
    
    private String timestamp;
    
    public static class Probabilities {
        private double normal;
        private double spam;
        
        public double getNormal() { return normal; }
        public double getSpam() { return spam; }
    }
    
    // Getters
    public boolean isSpam() { return isSpam; }
    public double getConfidence() { return confidence; }
    public Probabilities getProbabilities() { return probabilities; }
    public String getTimestamp() { return timestamp; }
} 